package com.cjack.frenchexcel.model;

import com.cjack.frenchexcel.table.RoleTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AdminUserModel implements Serializable {
    private static final long serialVersionUID = 4726643679638140372L;
    //登录相关的信息
    private Long id;
    private Long companyId;
    private String password;
    private String lastLoginTime;
    private Date createTime;
    private String createTimeStr;

    private String idAgree;
    //帐号相关的信息
    private String reviewStatus;//审核状态   PASS -通过  REFUSE-拒绝 DEFAULT-未审核
    private String reviewMemo;//审核备注
    private String headImg;
    private RoleTable role;
    private Long roleId;//角色id，新增/编辑时候传值
    private String jobNumber;//员工工号   -使用员工工号作为登录帐号
    private String phone;
    private String nom;//买手姓， 大写
    private Integer nomNumber;//买手姓后面的数字
    private String prenom;//买手 名， 首字母大写
    private String email;
    private Integer integral;//员工积分

    //合同相关的信息
    private String agreementType;//1-试用合同，2-COO合同，3-公司合同，4-游客合同
    private String agreementId;//合同id

    //银行卡对应的user_profile_id，这个id是一个人一个，多张卡对应一个user_profile_id
    private String userProfileId;

    private MooncardCardModel mooncard;//员工的mooncard

    private String passwordStatus;//用户密码状态 SYSTEM-系统默认  USERCUSTOMER用户修改
}
